Right now a second super press during the overview transition hides
the overview again. Change that behavior to shift up to the app grid
instead, which is more useful.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1736>
if (this._a11ySettings.get_boolean('stickykeys-enable'))
return;
- Main.overview.toggle();
+ const { initialState, finalState, transitioning } =
+ this._stateAdjustment.getStateTransitionParams();
+
+ if (transitioning && finalState > initialState)
+ this._shiftState(Meta.MotionDirection.UP);
+ else
+ Main.overview.toggle();
});
Main.wm.addKeybinding(